package com.crm.system.service.cluePoolManager;

import com.crm.model.qo.cluePoolManager.CluePoolPublicQO;
import com.crm.model.qo.cluePoolManager.CluePoolRuleQO;
import com.crm.model.vo.cluePoolManager.CluePoolRuleVO;

/**
 * @author luojie
 * @date 2020/12/25 15:20
 */
public interface CluePoolRuleService {

    Boolean addCluePoolRule(CluePoolPublicQO cluePoolPublicQO,String cluePoolId);

    /**
     * 根据线索池id查询线索池规则
     * @param cluePoolId
     * @return
     */
    CluePoolRuleVO selectCluePoolRuleByCluePoolId(String cluePoolId);

    /**
     * 修改线索池规则
     * @param cluePoolRuleQO
     * @param cluePoolId
     * @return
     */
    Boolean updateCluePoolRule(CluePoolRuleQO cluePoolRuleQO, String cluePoolId);

    /**
     * 根据线索池id删除线索池规则
     * @param cluePoolId
     * @return
     */
    Boolean deleteCluePoolRuleByCluePoolId(String cluePoolId);
}
